Component({
    properties: {
        classifyList: []
    },
    methods: {
        click(e) {
            let index = e.currentTarget.dataset.index
            // console.log(index);
            let myEventDetail = {value: index} // detail对象，提供给事件监听函数
            let myEventOption = {bubbles: true} // 触发事件的选项
            this.triggerEvent('myevent', myEventDetail, myEventOption);
        }
    }
});